/* $Id: H:/drh/idioms/book/RCS/inter.doc,v 1.11 1997/02/21 19:42:15 drh Exp $ */
#ifndef STACK_INCLUDED
#define STACK_INCLUDED

#define T    Stack_T
/*------------------Macro Definition-------------------------*/
/*------------------End of Macro Definition------------------*/

typedef struct T *T;

/*------------------API Definition---------------------------*/
extern T Stack_new(void);
extern int Stack_empty(T stk);
extern void Stack_push(T stk, void *x);
extern void *Stack_pop(T stk);
extern void Stack_free(T *stk);
/*------------------End of API Definition--------------------*/
#undef T

#endif
